* {
    margin: 0;
    padding: 0;
}

.w {
    width: 1200px;
    margin: auto;
}

.clearfix:before,.clearfix:after {

    content: "";

    display: block;

    clear: both;

}

.clearfix {

    zoom: 1;

}

body {
    background-color: #f3f5f7;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

/* 头部区域开始 */
.header {
    height: 42px;
    /* 给margin的时候需要注意层叠性   */
    margin: 30px auto;
    /* background-color: pink; */
}

/* logo */
.logo {
    float: left;
    width: 198px;
    height: 42px;
}

/* 导航栏 */
.nav {
    float: left;
    margin-left: 60px;
    height: 42px;
}

.nav ul li {
    float: left;
    margin: 0px 15px;
}

.nav ul li a {
    display: block;
    height: 42px;
    padding: 0px 10px;
    line-height: 42px;    
    font-size: 18px;
    color: #050505;
}

.nav ul li a:hover {
    border-bottom: 3px solid #00a4ff;
    color: #00a4ff;
}

/* 搜索模块 */
.search {
    float: left;
    width: 412px;    
    height: 42px;   
    margin-left: 70px;
}

.search input {
    float: left;
    width: 345px;
    height: 40px;
    outline: 0px;
    border: 1px solid #00a4ff;
    border-right: 0;
    padding-left: 15px;
    font-size: 14px;
    color: #bfbfbf;
}

.search button {
    float: left;
    width: 50px;
    height: 42px;
    border: 0px;
    background-image: url(images/btn.png);
}

/* 用户模块 */
.user {
    float: right;
    margin-right: 30px;
    font-size: 14px;
    color: #666666;
}
/* 头部区域结束 */

/* banner开始 */
.banner {
    height: 421px;
    background-color: #1c036c;
}
.banner .w {
    height: 421px;
    background: url(images/banner2_20190819_210028.png) no-repeat top center;
}
.subnav {
    float: left;
    width: 190px;
    height: 421px;
    background: rgba(0, 0, 0, .3);
}
.subnav ul li {
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}
.subnav ul li a {
    font-size: 14px;
    color: #fff;
}
.subnav ul li a:hover {
    color: #00a4ff;
}
.subnav ul li a span {
    float: right;
}
/* 课程表 */
.cource {
    float: right;
    width: 230px;
    height: 300px;
    /* 浮动的盒子不会有上边距塌陷问题 */
    margin-top: 50px;
    background-color: #fff;
}
.cource h2 {
    height: 48px;
    background-color: #9bceea;
    line-height: 48px;
    text-align: center;
    font-size: 18px;
    color: #fff;
}
.bd {
    padding: 0 20px;
}
.cource ul li {
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
}
.cource ul li h4 {
    font-size: 16px;
    color: #4e4e4e;
}
.cource ul li p {
    font-size: 12px;
    color: #a5a5a5;
}
.more {
    display: inline-block;
    height: 38px;
    width: 188px;
    line-height: 38px;
    text-align: center;
    border: 1px solid #00a4ff;
    margin-top: 5px;
    color: #00a4ff;
}
/* banner结束 */

.goods {
    height: 60px;       
    box-shadow: 0px 2px 3px 3px rgba(0, 0, 0, .1);
    margin-top: 5px;
    background-color: #fff;
    line-height: 60px;
}

.goods h3 {
    float: left;
    padding: 0 30px;
    color: #00a4ff;
    font-size: 14px;
}

.goods ul {
    float: left;
}

.goods ul li {
    float: left;
}
.goods ul li a {
    padding: 0 30px;
    border-left: 1px solid #a5a5a5;
    color: #050505;
}

.goods .mod {
    float: right;
    margin-right: 30px;
    color: #00a4ff;
    font-size: 14px;
}

.main {
    margin-top: 30px;
}
.main-hd {
    height: 45px;
}
.main-hd h3 {
    float: left;
    font-size: 20px;
    color: #494949;
}
.main-hd a {
    float: right;
    font-size: 12px;
    color: #a5a5a5;
    margin-right: 30px;
    margin-top: 10px;
}
.main-bd ul {
    width: 1225px;
}
.main-bd ul li {
    position: relative;
    float: left;
    width: 228px;
    height: 270px;
    margin-right: 15px;
    margin-bottom: 15px;
    background-color: #fff;
}
.main-bd ul li > img {
    width: 228px;
}
.main-bd ul li em {
    position: absolute;
    top: 4px;
    right: -3px;
}
.main-bd ul li h4 {
    font-weight: 400;
    font-size: 14px;
    margin: 20px 20px 20px 25px;
    color: #050505;
}

.info {
    margin: 0 20px 0 25px;
    font-size: 12px;
    color: #999;
}
.info span {
    color: #ff7c2d;
}

.footer {
    
    height: 415px;
    background-color: #fff;
}
.footer .w {
    padding-top: 35px;
}
.copyright {
    float: left;
    width: 432px;
    height: 148px;
}

.copyright p {
    font-size: 12px;
    color: #666;
    margin: 20px 0 15px 0;
}
.copyright a {
    display: block;
    height: 33px;
    width: 120px;
    line-height: 35px;
    text-align: center;
    color: #00a4ff;
    border: 1px solid #00a4ff;
}

.links {
    float: right;
}

.links dl {
    float: right;
    margin-left: 100px;
}

.links dl dt {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.links dl dd a {
    font-size: 12px;
    color: #333;
}